﻿#ifndef SPEEDMANAGEWIDGET_H
#define SPEEDMANAGEWIDGET_H

#include <QWidget>
#include <QVector>

namespace Ui {
class SpeedManageWidget;
}

class QVBoxLayout;
class QSpacerItem;
class GroupSpeedWidget;

class SpeedManageWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SpeedManageWidget(QWidget *parent = nullptr);
    ~SpeedManageWidget();

    void showSpeedInfo();

    void clearSpeedData();

private slots:
    void on_pushButton_returnUp_clicked();

    void on_pushButton_returnTop_clicked();

private:
    Ui::SpeedManageWidget *ui;

    QVBoxLayout *_verticalLayout;
    QSpacerItem* _verticalSpacer;

    QVector<GroupSpeedWidget*> _vecGroupWidget;
};

#endif // SPEEDMANAGEWIDGET_H
